set Text Kerning
Sets kerning for a grapheme range.
Applies an additional offset in em units on top of the font's built-in kern. 1.0 equals the run's font size, so the offset scales proportionally with text size. Required scope: "text/character"
Parameters
block
the text block whose kerning should be changed.
kerning
additional kerning offset in em units (1.0 = one full em). Use 0.0 for no extra offset.
from
the start index of the grapheme range. Negative falls back to the current cursor/selection start when editing, or the start of the entire text otherwise.
to
the grapheme index after the last grapheme. Negative falls back to the current cursor/selection end when editing, or the end of the entire text otherwise.